<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path=request.getContextPath();  
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>"></base>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>评委调用管理</title>
<link rel="stylesheet" href="js/plugins/jquery-ui/themes/redmond/jquery-ui.min.css" />
<link rel="stylesheet" href="js/plugins/jqGrid/css/ui.jqgrid.css" />
<link rel="stylesheet" href="css/layout.css" type="text/css" />
<script type="text/javascript" src="js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="js/plugins/jqGrid/js/i18n/grid.locale-cn.js"></script>
<script type="text/javascript" src="js/plugins/jqGrid/js/jquery.jqGrid.min.js"></script>
<script type="text/javascript" src="js/plugins/jquery-ui/ui/jquery-ui.js"></script>
<script type="text/javascript" src="js/plugins/noty/jquery.noty.js"></script>
<script type="text/javascript" src="js/plugins/noty/layouts/topRight.js"></script>
<script type="text/javascript" src="js/plugins/noty/layouts/top.js"></script>
<script type="text/javascript" src="js/plugins/noty/layouts/center.js"></script>
<script type="text/javascript" src="js/plugins/noty/themes/default.js"></script>

<script type="text/javascript" src="js/AC_RunActiveContent.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/judge/judgeCall.js"></script>
<script>
    $(function() {
        setupMenu();

        setupContent();

        setupJudgeCallGrid();

        setupJudgeCallToolbar();

        setupJudgeCallDialog();
    });
</script>
<style>
#detail input {
 width: 150px;
}

#detail select {
 width: 150px;
}

#detail td {
 padding: 5px;
}

#detail textarea {
	width: 400px;
}

#filterContainer {
	text-align: right;
}

#keyword {
	height: 25px;
}
</style>
</head>
<body>
 <div id="container">
  <%@ include file="../header.jsp"%>
  <div id="mainContent">
   <div id="tabs">
    <ul>
     <li><a href="#tab">评委调用管理</a></li>
    </ul>
    <div id="tab">
     <div id="toolbar">
      <button id="add">评委调用信息录入</button>
      <button id="edit">评委调用信息编辑</button>
      <button id="delete">评委调用信息删除</button>
     </div>
     <div id="filterContainer">
      <input type="text" id="keyword" class="text ui-widget-content ui-corner-all" />
      <button id="filter">筛选</button>
      <button id="unfilter">解除筛选</button>
     </div>
     <table id="judges"></table>
     <div id="pager"></div>
    </div>
   </div>
   <div id="detail" title="评委调用信息录入">
    <form name="judgeCallForm" id="judgeCallForm" method="post">
     <input type="hidden" name="judgeCall.id" id="id" />
     <table border="0" cellpadding="0" cellspacing="0">
      <tr>
       <td>评委信息</td>
       <td colspan="3">
        <select name="judgeCall.target.id" id="targetId">
        </select>
       </td>
      </tr>
      <tr>
       <td>调用名</td>
       <td><input type="text" name="judgeCall.callName" id="name" maxlength="64" class="text ui-widget-content ui-corner-all" /></td>
       <td>调用目的</td>
       <td>
        <select name="judgeCall.callAim" id="callAim" class="text ui-widget-content ui-corner-all">
         <option value="0">测评</option>
         <option value="1">阅卷</option>
         <option value="2">培训</option>
        </select>
       </td>
      </tr>
      <tr>
       <td>调用缘由</td>
       <td colspan="3"><textarea rows="3" cols="28" name="judgeCall.callReason" id="reason" class="text ui-widget-content ui-corner-all"></textarea></td>
      </tr>
      <tr>
       <td>调用备注</td>
       <td colspan="3"><textarea rows="3" cols="28" name="judgeCall.callRemark" id="remark" class="text ui-widget-content ui-corner-all"></textarea></td>
      </tr>
     </table>
    </form>
   </div>
  </div>
 </div>
</body>
</html>